package com.lg.cms.controller.admin.permmission;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class FXTauthorityController {
////测试
        @GetMapping("/userCategory")
        public String userCategory(Model model, HttpServletRequest request){
            model.addAttribute( "request",request);
            return "/admin/authority_management/userCategory";
        }
        @GetMapping("/roleCategory")
        public String roleCategory(Model model,HttpServletRequest request){
            model.addAttribute("request", request);
            return "/admin/authority_management/roleCategory";
        }

}
